home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
comms
/
thor_2.22
/
thor.lha
/
rexx
/
examples
/
ArcData.br
next >
Wrap
Text File
|
1995-12-18
|
805b
|
43 lines
/* $VER: ArcData.br 3.1 (08.06.94)
*
* Shows data about archive types.
*
* Script by: Eivind Nordseth, Ultima Thule Software.
*/
/* trace results */
if ~show('p', 'BBSREAD') then do
address command
"run >nil: `GetEnv THOR/THORPath`bin/LoadBBSRead"
"WaitForPort BBSREAD"
end
address BBSREAD
parse arg argument
GETARCDATA ARCHIVERS argument
if(rc ~= 0) then
do
say BBSREAD.LASTERROR
exit
end
if(argument = '') then
do
do i=1 to ARCHIVERS.COUNT
say 'Name: ' ARCHIVERS.i
say ' Pattern: ' ARCHIVERS.i.PATTERN
say ' UnArcCmd:' ARCHIVERS.i.UNARCCMD
say ' ArcCmd: ' ARCHIVERS.i.ARCCMD
end
end
else
do
say 'Name: ' ARCHIVERS.NAME
say 'Pattern: ' ARCHIVERS.PATTERN
say 'UnArcCmd:' ARCHIVERS.UNARCCMD
say 'ArcCmd: ' ARCHIVERS.ARCCMD
end